
package za.ac.cput.peter.ObjectOrientatedConcepts.Polymorphism.Conf;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.peter.ObjectOrientatedConcepts.Polymorphism.Impl.Door;
import za.ac.cput.peter.ObjectOrientatedConcepts.Polymorphism.Impl.OakDoor;

@Configurable
public class AppConfig 
{
    @Bean
    public Door oak(){ return new OakDoor(); }
}
